import * as React from "react";
import { Link } from "react-router";
export class Layout extends React.Component {
    constructor(props) {
        super(props);
        this.state = {

        }
    }
    render() {
        return (
            <div>
                <h1>App</h1>
                <ul>
                    <li><Link to="/page1">page1</Link></li>
                    <li><Link to="/page2">page2</Link></li>
                </ul>
                {this.props.children}
            </div>
        )
    }
}

